-- CALC_BROCK_BONUS

-- 计算布罗克的尸体的奖励
return function(user, bonusArg)
    local classId;
    local bonus = {};

    if BuildingBonusM.getFieldStat("seventh_seal") < 1 then
        -- 创世神没有获得过钻石，奖励钻石的第七封印
        classId = 7420;
    elseif BuildingBonusM.getFieldStat("seventh_seal2") < 1 then
        -- 十字军没有获得过金币，奖励金币的第七封印
        classId = 7421;
    else
        classId = 7422;
    end

    table.insert(bonus, {1, classId, 1} );

    return bonus;
end